﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Admin.Master" AutoEventWireup="true" CodeBehind="PostManagement.aspx.cs" Inherits="Foothill.Web.Admin.PostManagement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="postmgmt.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph1" runat="server">
    <div id="postmgmt">
        <div id="postmgmt-search">
            <asp:Label ID="LblSearchId" runat="server" Text="Search By Id" />
            <asp:TextBox ID="TbxSearchId" runat="server" />
            <asp:Button ID="BtnSearchId" runat="server" Text="Search" OnClick="BtnSearchIdClick" />
        </div>
        <div id="post-list">
            <asp:GridView ID="gvwAdList" CssClass="gvwAdList" runat="Server" AutoGenerateColumns="false" DataKeyNames="AdId"
                AllowPaging="true" ShowHeader="false" PagerSettings-Visible="false" OnRowDataBound="gvwAdListRowDataBound">
                <EmptyDataTemplate>
                    <div id="no-result-find">
                        Post Management
                    </div>
                </EmptyDataTemplate>
                <Columns>
                    <asp:TemplateField ShowHeader="false">
                        <ItemTemplate>
                            <table class="tbl-ad-row">
                                <tr>
                                    <td>
                                        <asp:Label ID="lblAdId" runat="server"  />     
                                    </td>
                                    <td rowspan="2" class="td-ad-profile">
                                        <asp:HyperLink ID="hlkProfilePic" runat="server" CssClass="hlkAdTitle" Target="_blank">
                                            <asp:Image ID="imgProfile" runat="server" CssClass="imgProfile" />
                                        </asp:HyperLink>
                                    </td>
                                    <td class="td-ad-detail">
                                        <div class="vehicle-type">
                                            <asp:HyperLink ID="hlkAdTitle" runat="server" CssClass="hlkAdTitle" Target="_blank">
                                                <asp:Label ID="lblVehicleType" runat="server" CssClass="lblVehicleType" />
                                            </asp:HyperLink>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </div>
        <div class="clear"></div>
    </div>
</asp:Content>
